package com.sbr.tbd.builders;

import com.sbr.tbd.model.Application;

public class ApplicationBuilder {

	private int id;
	private String name;
	private String description;
	
	public ApplicationBuilder() {
		
	}
	
	public ApplicationBuilder id(int id) {
		this.id = id;
		return this;
	}
	
	public ApplicationBuilder name(String name) {
		this.name = name;
		return this;
	}
	
	public ApplicationBuilder description(String description) {
		this.description = description;
		return this;
	}
	
	public Application build() {
		Application application = new Application();
		application.setId(id);
		application.setName(name);
		application.setDescription(description);
		return application;
	}
}
